package com.roads.site.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.roads.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 劳务工-合同信息对象 site_labour_staff_contract
 *
 * @author nhp
 * @date 2023-03-24
 */
public class SiteLabourStaffContract extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Integer id;

    /**
     * UUID
     */
    private String uuid;

    /**
     * 劳务工ID
     */
    private Integer staffId;

    /**
     * 身份证号
     */
    private String idNo;

    /**
     * 标段编码
     */
    private String institutionCode;

    /**
     * 签订状态 Y 已签订 N未签订
     */
    private String status;

    /**
     * 合同编号
     */
    private String code;

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    /**
     * 签订日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date signDate;

    /**
     * 置顶 Y是 N 否
     */
    private String top;

    /**
     * 附件数量
     */
    private Integer annexCount;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 标段名称
     */
    private String institutionName;


    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return uuid;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setInstitutionCode(String institutionCode) {
        this.institutionCode = institutionCode;
    }

    public String getInstitutionCode() {
        return institutionCode;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public Date getSignDate() {
        return signDate;
    }

    public String getTop() {
        return top;
    }

    public void setTop(String top) {
        this.top = top;
    }

    public Integer getAnnexCount() {
        return annexCount;
    }

    public void setAnnexCount(Integer annexCount) {
        this.annexCount = annexCount;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getInstitutionName() {
        return institutionName;
    }

    public void setInstitutionName(String institutionName) {
        this.institutionName = institutionName;
    }
}
